﻿<%@ Page Title="Şifremi unuttum | TodayWho" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="forgotpassword.aspx.cs" Inherits="TodayWho.forgotpassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="pnl" runat="server" DefaultButton="btnChangePassword">
     <div id="stylized" class="myform">
        
            <h1>Şifremi Unuttum</h1>
            <p>Email adresinize yeni bir şifre gönderilir..</p>

            <div style="margin-bottom:30px;height:70px">
                <label>Email
                <span class="small">Email adresinizi giriniz.</span>
                </label>
                <asp:TextBox ID="txtEmail" runat="server" CssClass="text"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rqTxtEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ValidationGroup="vgChangePassword" ErrorMessage="Lütfen email adresini giriniz." >*</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="regMail" runat="server" ControlToValidate="txtEmail" ErrorMessage="Lütfen geçerli bir email adresi giriniz." ValidationGroup="vgChangePassword"
			            ValidationExpression="^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$" >*</asp:RegularExpressionValidator>
                 <asp:Button ID="btnChangePassword" runat="server" CssClass="button" Text="Gönder" OnClick="btnChangePassword_OnClick" ValidationGroup="vgChangePassword" />
            </div>
                
            <div class="spacer"></div>

            <p style="border-bottom:none"><asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="Red" ></asp:Label></p>
            <asp:ValidationSummary ID="vsumLogin" runat="server" ValidationGroup="vgChangePassword" DisplayMode="BulletList" ShowSummary="true" />
            
            <div class="spacer"></div>

        </div>
    </asp:Panel>
</asp:Content>
